import request from '@/utils/request'
// 查询风控管理
export function getWindControlList(query) {
  return request({
    url: '/system/windControl/list',
    method: 'GET',
    params: query
  })
}
// 添加
export function postWindControl(data) {
  return request({
    url: '/system/windControl',
    method: 'post',
    data: data
  })
}
// 修改
export function putWindControl(data) {
  return request({
    url: '/system/windControl',
    method: 'put',
    data: data
  })
}
// 删除风控管理
export function delWindControl(id) {
  return request({
    url: '/system/windControl/' + id,
    method: 'delete'
  })
}
